<?php get_header(); ?>
<div class="blog bg-white">
	<div class="wrap">
		<div class="blog-left">
			<div class="blog-left-head">
				<h1>News</h1>
			</div>
			<div class="blog-artical-grids">
				<?php
				if (have_posts()){
					while (have_posts()) {
						the_post();
						get_template_part('content', 'news');
					}
				} else {
					get_template_part('content', 'none');
				}
				?>
			</div>
			<!-- begin pager -->
			<div class="blog-artical-pagenate">
				<ul>
					<?php
					$arg = array (
						'type'      =>'list',
						'prev_next' => True,
						'prev_text' => __('<span class="first"></span>'),
						'next_text' => __('<span class="last"></span>'),
						);
					echo (paginate_links($arg));
					?>
				</ul>
			</div>
			<!-- //End pager -->
		</div>

		<div class="blog-right">
			<?php get_sidebar(); ?>
		</div>
		<div class="clear"> </div>
	</div>
</div>
<?php get_footer(); ?>